[INFO] cloning repository https://github.com/flada-auxv/todobackend-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flada-auxv/todobackend-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6262234d4c3f7f0b8fa6c159a3de9ea4b092d5b3
[INFO] testing flada-auxv/todobackend-rust against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflada-auxv%2Ftodobackend-rust" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/flada-auxv/todobackend-rust on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/flada-auxv/todobackend-rust
[INFO] finished tweaking git repo https://github.com/flada-auxv/todobackend-rust
[INFO] tweaked toml for git repo https://github.com/flada-auxv/todobackend-rust written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/flada-auxv/todobackend-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f082cfc5342143bdcbdfa472d98de1e55144b09b428aba57f7634434c2ece47a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f082cfc5342143bdcbdfa472d98de1e55144b09b428aba57f7634434c2ece47a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f082cfc5342143bdcbdfa472d98de1e55144b09b428aba57f7634434c2ece47a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f082cfc5342143bdcbdfa472d98de1e55144b09b428aba57f7634434c2ece47a", kill_on_drop: false }`
[INFO] [stdout] f082cfc5342143bdcbdfa472d98de1e55144b09b428aba57f7634434c2ece47a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5eb0a236af30090349bdc686743a052fa056123bd17da71fdc6f35ff32cf5b3a
[INFO] running `Command { std: "docker" "start" "-a" "5eb0a236af30090349bdc686743a052fa056123bd17da71fdc6f35ff32cf5b3a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling futures-sink v0.3.14
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling httparse v1.4.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling futures-io v0.3.14
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling typeable v0.1.2
[INFO] [stderr]    Compiling siphasher v0.3.5
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling route-recognizer v0.1.13
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling tokio v1.5.0
[INFO] [stderr]    Compiling plugin v0.2.6
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling mio v0.7.11
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling socket2 v0.4.0
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling sha2 v0.9.3
[INFO] [stderr]    Compiling md-5 v0.9.1
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]    Compiling postgres-protocol v0.6.1
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling postgres-types v0.2.1
[INFO] [stderr]    Compiling tokio-util v0.6.6
[INFO] [stderr]    Compiling iron v0.6.1
[INFO] [stderr]    Compiling persistent v0.4.0
[INFO] [stderr]    Compiling router v0.6.0
[INFO] [stderr]    Compiling bodyparser v0.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.14
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling futures-executor v0.3.14
[INFO] [stderr]    Compiling futures v0.3.14
[INFO] [stderr]    Compiling tokio-postgres v0.7.2
[INFO] [stderr]    Compiling postgres v0.19.1
[INFO] [stderr]    Compiling r2d2_postgres v0.18.0
[INFO] [stderr]    Compiling todo-backend-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `SslMode` in `postgres`
[INFO] [stdout]   --> src/main.rs:45:93
[INFO] [stdout]    |
[INFO] [stdout] 45 | ...nectionManager::new(url.as_ref(), postgres::SslMode::None).unwrap_or_else(|e| panic!("{}", e));
[INFO] [stdout]    |                                                ^^^^^^^ could not find `SslMode` in `postgres`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `rows` in `postgres`
[INFO] [stdout]   --> src/main.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn new(row: postgres::rows::Row) -> Todo {
[INFO] [stdout]    |                           ^^^^ could not find `rows` in `postgres`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields
[INFO] [stdout]   --> src/main.rs:29:65
[INFO] [stdout]    |
[INFO] [stdout] 29 |         res.headers.set(headers::AccessControlAllowHeaders(vec![UniCase("content-type".to_owned()), UniCase("accept".to_owned())]));
[INFO] [stdout]    |                                                                 ^^^^^^^ constructor is not visible here due to private fields
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct instead
[INFO] [stdout]    |
[INFO] [stdout] 1  | use headers::UniCase;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields
[INFO] [stdout]   --> src/main.rs:29:101
[INFO] [stdout]    |
[INFO] [stdout] 29 |         res.headers.set(headers::AccessControlAllowHeaders(vec![UniCase("content-type".to_owned()), UniCase("accept".to_owned())]));
[INFO] [stdout]    |                                                                                                     ^^^^^^^ constructor is not visible here due to private fields
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct instead
[INFO] [stdout]    |
[INFO] [stdout] 1  | use headers::UniCase;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `Config` is private
[INFO] [stdout]   --> src/main.rs:43:28
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let config = r2d2::Config::default();
[INFO] [stdout]    |                            ^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `Config` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.8.9/src/lib.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | use crate::config::Config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/main.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Debug, Clone, RustcDecodable)]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:136:27
[INFO] [stdout]     |
[INFO] [stdout] 136 |         Ok(Response::with((status::Ok)))
[INFO] [stdout]     |                           ^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `PostgresConnectionManager`
[INFO] [stdout]   --> src/main.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout] 35 | type Pool = r2d2::Pool<r2d2_postgres::PostgresConnectionManager>;
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 type parameter: `T`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2_postgres-0.18.0/src/lib.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct PostgresConnectionManager<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^ -
[INFO] [stdout] help: use angle brackets to add missing type argument
[INFO] [stdout]    |
[INFO] [stdout] 35 | type Pool = r2d2::Pool<r2d2_postgres::PostgresConnectionManager<T>>;
[INFO] [stdout]    |                                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `PostgresConnectionManager`
[INFO] [stdout]   --> src/main.rs:36:63
[INFO] [stdout]    |
[INFO] [stdout] 36 | type PooledConnection = r2d2::PooledConnection<r2d2_postgres::PostgresConnectionManager>;
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 type parameter: `T`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2_postgres-0.18.0/src/lib.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct PostgresConnectionManager<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^ -
[INFO] [stdout] help: use angle brackets to add missing type argument
[INFO] [stdout]    |
[INFO] [stdout] 36 | type PooledConnection = r2d2::PooledConnection<r2d2_postgres::PostgresConnectionManager<T>>;
[INFO] [stdout]    |                                                                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0423, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo-backend-rust`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "5eb0a236af30090349bdc686743a052fa056123bd17da71fdc6f35ff32cf5b3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5eb0a236af30090349bdc686743a052fa056123bd17da71fdc6f35ff32cf5b3a", kill_on_drop: false }`
[INFO] [stdout] 5eb0a236af30090349bdc686743a052fa056123bd17da71fdc6f35ff32cf5b3a
